// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout';

const courseRouter = {
  path: '/skillsTraining',
  component: Layout,
  redirect: '/skillsTraining/index',
  name: 'SkillsTraining',
  meta: {
    title: '技能培训',
    icon: 'clipboard',
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/skillsTraining/courseManagement/index'),
      name: 'CourseManagement',
      meta: { title: '课程管理', icon: '' },
    },
    {
      path: 'info',
      component: () => import('@/views/skillsTraining/courseManagement/list'),
      name: 'RegistrationInformation',
      meta: { title: '报名信息', icon: '' },
    },
    {
      path: 'create',
      component: () => import('@/views/skillsTraining/courseManagement/form'),
      name: 'CreateCourse',
      meta: { title: '新建课程', icon: '' },
    },
    {
      path: 'classification',
      component: () => import('@/views/skillsTraining/courseClassification/index'),
      name: 'Classification',
      meta: { title: '课程分类', icon: '' },
    },
     {
      path: 'evaluation',
      component: () => import('@/views/skillsTraining/courseEvaluation/index'),
      name: 'Evaluation',
      meta: { title: '课程评价', icon: '' },
    },
  ],
};

export default courseRouter;
